<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>app登录</p>
    <h1>2:接口说明</h1>
    <p>/user/login.do</p>
    <h1>3：接口测试</h1>
    <p>
    
    <form name="form1" id="form1" enctype="multipart/form-data" method="post"  >
	    user_name:<input type="text" name="user_name" value="fujianyd@163.com"/> 用户名<br/>
	    password:<input type="password" name="password" value="670b14728ad9902aecba32e22fa4f6bd"/> 密码<br/>
	    <input type="button" value="submit" onclick='exe()'>
	</form>
	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
       加载中...
    </div>
    <br/>
    登录成功后，api端会种一个 petuserpass的用户cookie. 包含user_name nickName user_id
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("../user/login.do",document.forms["form1"]);
    }
    exe();
</script>
